package com.tinycloud.miracll.finance.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;

/**
 * 产品成本对象 finance_product_cost
 * 
 * @author tiny
 * @date 2021-09-04
 */
public class ProductCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productDesc;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String materialCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String materialDesc;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bom;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal price;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date costDate;

    /** $column.columnComment */
    private String delFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal output;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal materialcount;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal totalprice;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductDesc(String productDesc) 
    {
        this.productDesc = productDesc;
    }

    public String getProductDesc() 
    {
        return productDesc;
    }
    public void setMaterialCode(String materialCode) 
    {
        this.materialCode = materialCode;
    }

    public String getMaterialCode() 
    {
        return materialCode;
    }
    public void setMaterialDesc(String materialDesc) 
    {
        this.materialDesc = materialDesc;
    }

    public String getMaterialDesc() 
    {
        return materialDesc;
    }
    public void setBom(BigDecimal bom) 
    {
        this.bom = bom;
    }

    public BigDecimal getBom() 
    {
        return bom;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setCostDate(Date costDate) 
    {
        this.costDate = costDate;
    }

    public Date getCostDate() 
    {
        return costDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setOutput(BigDecimal output) 
    {
        this.output = output;
    }

    public BigDecimal getOutput() 
    {
        return output;
    }
    public void setMaterialcount(BigDecimal materialcount) 
    {
        this.materialcount = materialcount;
    }

    public BigDecimal getMaterialcount() 
    {
        return materialcount;
    }
    public void setTotalprice(BigDecimal totalprice) 
    {
        this.totalprice = totalprice;
    }

    public BigDecimal getTotalprice() 
    {
        return totalprice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productCode", getProductCode())
            .append("productDesc", getProductDesc())
            .append("materialCode", getMaterialCode())
            .append("materialDesc", getMaterialDesc())
            .append("bom", getBom())
            .append("price", getPrice())
            .append("costDate", getCostDate())
            .append("createBy", getCreateBy())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("output", getOutput())
            .append("materialcount", getMaterialcount())
            .append("totalprice", getTotalprice())
            .toString();
    }
}
